# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=tinyscheme
pkgver=1.42
pkgrel=0
pkgdesc="lightweight Scheme interpreter implementing a large subset of R5RS"
url="http://tinyscheme.sourceforge.net/home.html"
arch="all"
license="BSD-3-Clause"
source="https://downloads.sourceforge.net/tinyscheme/tinyscheme-$pkgver.tar.gz"

build() {
	make all
}

package() {
	install -Dm755 scheme "$pkgdir"/usr/bin/tinyscheme
	install -Dm644 libtinyscheme.so "$pkgdir"/usr/lib/libtinyscheme.so
}

sha512sums="54841dddd151042a976343409d5fcd778390bfddad50986d2a19120ec1eede54e2a3150100f5331abcacc222d8d547abde2b65a427c0353c2534b5f52918606c  tinyscheme-1.42.tar.gz"
